package de.mohlendo.brainfuck
{
  import flash.events.Event;

  public class PositionEvent extends Event
  {
    public static const LEFT:String = "left";
    public static const RIGHT:String = "right";
    
    private var _position:int;
    private var _movement:String;
    
    public function PositionEvent(type:String,position:int,movement:String, bubbles:Boolean=false, cancelable:Boolean=false)
    {
      super(type, bubbles, cancelable);
      this._position = position;
      this._movement = movement;
    }
    
    public function get position():int {
      return _position;
    }
    
    public function get movement():String {
      return _movement;
    }
    
  }
}